#ifndef ALGDIALOG_H
#define ALGDIALOG_H

#include <QDialog>
#include "Common/common.h"

namespace Ui {
class AlgDialog;
}

class AlgDialog : public QDialog
{
    Q_OBJECT

public:
    explicit AlgDialog(QWidget *parent = nullptr);
    ~AlgDialog();
    void setPath(QString path,int n);


    M_R_IMPURITY m_part;

    void WdConfig();
    void RdConfig();

    void ViewsInit();
signals:
    void sigAlgToMain(int nIndx);
private slots:
    void on_Bt_write_C1_clicked();

    void on_Bt_write_C_2_clicked();

    void on_Bt_write_C_3_clicked();

private:
    Ui::AlgDialog *ui;
    int m_nTag;
};

#endif // ALGDIALOG_H
